package com.yowasa.xiuxian.engine.item.lingyao;

import com.yowasa.xiuxian.annoations.Item;
import com.yowasa.xiuxian.engine.item.ItemInterface;
import com.yowasa.xiuxian.entity.bo.user.UserBO;
import com.yowasa.xiuxian.entity.enums.ElementEnum;
import com.yowasa.xiuxian.entity.enums.ItemTypeEnum;


@Item(name = "长生丹", type = ItemTypeEnum.LING_YAO, price = 20000)
public class ChangShengDan implements ItemInterface {

    @Override
    public String desc() {
        return "增加自己50年寿命";
    }

    @Override
    public String effect(UserBO userBO) {
        userBO.getUserConfig().setLife(userBO.getUserConfig().getLife()+50);
        return "感觉身体变年轻了";
    }




}
